package com.hoshiibuy.sys.permission.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.hoshiibuy.common.rpc.Response;
import com.hoshiibuy.sys.permission.entity.param.RObject;

/**
 * Neo4j远程服务调用接口
 * 
 * @author Mr.wu
 *
 */
@FeignClient("hoshiibuy-neo4j")
@RequestMapping("/neo4j")
public interface Neo4jRemote {
	@RequestMapping(value = "/create/role", method = RequestMethod.POST)
	public Response addRole(RObject param);

	@RequestMapping(value = "/create/organization", method = RequestMethod.POST)
	public Response addDept(RObject param);
}
